package cn.com.wangluotongxin.merchants.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商户管理-菜单权限
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("merchants_menu")
@ApiModel(value = "MerchantsMenu对象", description = "商户管理-菜单权限")
public class MerchantsMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("租户ID")
    private Integer tenantId;

    @ApiModelProperty("父ID")
    private Integer parentId;

    @ApiModelProperty("来源ID 用于同步")
    private Integer sourceId;

    @ApiModelProperty("名称")
    private String menuName;

    @ApiModelProperty("菜单类型：1.菜单 2.按钮")
    private Integer menuType;

    @ApiModelProperty("权限值")
    private String menuValue;

    @ApiModelProperty("排序值")
    private Integer menuSort;

}
